const indexRouter = require("koa-router");
const loginRouter = require("./loginRouter");
const chatRouter = require("./chatRouter");

const router = new indexRouter();

router.use("/login", loginRouter.routes(), loginRouter.allowedMethods());
router.use("/", chatRouter.routes(), chatRouter.allowedMethods());
module.exports = router;
